Automattic\WooCommerce\Admin\Features\Features A

Total Complexity 56
Dependencies 1
Dependents 27
Total lines 411
Lines of code 226
Logical lines of code 107
Comment lines 119
Methods 18
Properties 3

Methods 18

Method Rating Maintainability Complexity Lines of code
maybe_load_beta_features_modal()
A
49 9 30
get_available_features()
A
52 8 24
add_features_settings()
A
48 7 35
add_admin_body_classes()
S
60 3 12
load_scripts()
S
62 3 11
get_feature_class()
S
62 3 11
register_internal_class_aliases()
S
53 2 22
maybe_disable_features()
S
67 3 8
get_optional_feature_options()
S
64 3 10
load_features()
S
66 3 9
add_features_section()
S
63 2 11
get_instance()
S
71 2 6
disable()
S
66 2 8
enable()
S
66 2 8
__construct()
S
63 1 10
is_enabled()
S
74 1 4
exists()
S
74 1 4
get_features()
S
79 1 3